import axios from 'axios'
import './request.js'

// 获取积分商品
export const getShop = function() {
    return axios.get('/content/shop/list')
}

// 按销量排行数据
export const getSort = function() {
    return axios.get('/content/shop/sort')
}

// 获取商品详情
export const getShopGood = function(params) {
    return axios.get(`/content/shop/select/${params}`)
}